#ifndef SIZEPROPERTYWIDGET_H
#define SIZEPROPERTYWIDGET_H

#include "global.h"

namespace Ui {
class SizePropertyWidget;
}

class SizePropertyWidget : public QWidget
{
    Q_OBJECT

public:
    explicit SizePropertyWidget(QWidget *parent = nullptr);
    ~SizePropertyWidget();

    unsigned short GetSize();

protected:
    void init();

protected slots:
    void on_Button_Size1_clicked();
    void on_Button_Size2_clicked();
    void on_Button_Size3_clicked();
    void on_Button_Size4_clicked();
    void on_Button_Size5_clicked();

signals:
    void SizeChange();

private:
    Ui::SizePropertyWidget *ui;

    unsigned short Size;
};

#endif // SIZEPROPERTYWIDGET_H
